/*=============================================
=            15. Single product page            =
=============================================*/

.single-product-page-content{
    margin: 40px 0;
}
.single-product-page-image-gallery {
    a.big-image-popup {
        position: absolute;
        bottom: 20px;
        left: 50%;
        font-size: 20px;
        margin-left: -68px;
        display: block;
        padding: 10px 0;
        text-align: center;
        line-height: 22px;
        color: #333;
        width: 136px;
        font-weight: 700;
        background: rgba(255, 255, 255, 0.5);
        -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
        -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    }
}


.product-options {

    .single-product-user-action {
        margin-bottom: 1rem;

        ul {
            li {
                display: inline-block;
                margin-right: 10px;

                @media #{$large-mobile} {
                    margin-bottom: 5px;
                }

                a {

                    i.fa {
                        font-size: 18px;
                    }

                    &:hover {
                        i.fa {
                            color: $hover-color;
                        }

                        color: $theme-color;
                    }

                }
            }
        }
    }
}

.tag-container {
    ul {
        li {
            display: inline-block;

            a {
                display: block;
                margin-right: 5px;
                margin-bottom: 10px;
                padding: 5px 10px;
                border: 1px solid #ddd;
                text-transform: uppercase;

                &:hover {
                    background-color: $hover-color;
                    color: #fff;
                    border-color: $hover-color;
                }
            }
        }
    }
}


.product-description-tab-container {

    .nav-tabs {
        border-bottom: 0;

        a {
            @media #{$small-mobile} {
                margin-bottom: 10px;
            }

            &.nav-link.active {
                background: none;
                border: 1px solid $theme-color;
                border-radius: 0;
                color: $theme-color;
            }

            &.nav-link {
                font-weight: 800;
                background-color: $theme-color;
                border-radius: 0;
                border: 1px solid #ddd;
                margin-right: 10px;
                color: #ffffff;


                @media #{$large-mobile} {
                    font-size: 16px;
                }

                &:hover {
                    background: #ffffff;
                    border: 1px solid #ddd;
                    color: rgb(151, 152, 152);

                }
            }

        }
    }

    .tab-content {
        .tab-pane {
            padding: 30px 0;
            display: none;

            &.active{
                display: block;
            }

            .table-data-sheet {
                width: 100%;
                border-width: 0px 1px 1px;
                border-style: solid solid solid;
                border-color: rgb(214, 212, 212) rgb(214, 212, 212) rgb(214, 212, 212);
                border-image: initial;
                border-top: 0px;
                margin: 0px 0px 20px;
                background: white;

                tr {
                    border-top: 1px solid rgb(214, 212, 212);

                    td {
                        padding: 10px 20px 11px;

                        &:first-child {
                            width: 30%;
                            font-weight: 700;
                            color: rgb(51, 51, 51);
                            border-right: 1px solid rgb(214, 212, 212);
                        }
                    }
                }
            }
        }

    }



}


.group-product-form {
    .table-content table {
        background: #fff none repeat scroll 0 0;
        border-color: #e5e5e5;
        border-radius: 0;
        border-style: solid;
        border-width: 1px 0 0 1px;
        margin: 0 0 15px;
        text-align: center;
        width: 100%;

        td {
            padding: 12px 10px;
            border-bottom: 1px solid #e5e5e5;
            border-right: 1px solid #e5e5e5;
            width: 33.33%;

            &.product-name{
                font-weight: 800;
            }

            p {
                span {
                    display: block;
                    margin-top: 10px;

                }
            }

             &.pro-quantity {
                & .pro-qty-cart{
                    a.qty-btn{
                        margin-top: 8px;
                        display: inline-block;
                    }

                    width: 100px;
                    height: 35px;
                    border: 1px solid #999999;
                    border-radius: 0;
                    padding: 0 15px;
                    display: block;
                    margin: auto;
                    & .qtybtn {
                        width: 15px;
                        display: block;
                        float: left;
                        line-height: 31px;
                        cursor: pointer;
                        text-align: center;
                        font-size: 15px;
                        font-weight: 700;
                        color: $body-color;
                        &.dec {}
                        &.inc {}
                    }
                    & input {
                        width: 28px;
                        border: none;
                        height: 33px;
                        line-height: 33px;
                        padding: 0;
                        text-align: center;
                        background-color: transparent;
                    }

                    // Responsive
                    @media #{$large-mobile}{
                        margin: 0;
                    }
                }
             }
        }
    }

}

/*-- Single Product Ratting --*/
.product-ratting-wrap {
    overflow: hidden;
}

.pro-avg-ratting {
    margin-bottom: 20px;
    float: left;
    width: 100%;
    & h4 {
        font-size: 18px;
        font-weight: 700;
        line-height: 14px;
        margin: 0 0 7px;
        & span {
            color: $body-color;
            font-size: 12px;
            font-weight: 400;
            line-height: 10px;
        }
    }
    & > span {
        display: block;
        font-size: 12px;
        line-height: 10px;
    }
}

.ratting-list {
    margin-bottom: 30px;
    float: left;
    width: 100%;
    & .sin-list {
        margin-right: 30px;
        &:last-child {
            margin-right: 0;
        }
        & i {
            color: $body-color;
            font-size: 12px;
        }
        & span {
            color: #666666;
        }
    }
}

.rattings-wrapper {
    margin-bottom: 40px;
    float: left;
    width: 100%;
}

.sin-rattings {
    margin-bottom: 40px;
    &:last-child {
        margin-bottom: 0;
    }
    & .ratting-author {
        float: left;
        width: 100%;
        margin-bottom: 10px;
        & h3 {
            float: left;
            font-size: 16px;
            font-weight: 700;
            margin: 0;
            line-height: 18px;
            margin-right: 15px;
        }
        & .ratting-star {

            // Responsive
            @media #{$small-mobile}{
                float: left;
                width: 100%;
                margin-top: 5px;
            }

            & i, & span {
                color: $body-color;
                font-size: 12px;
                line-height: 18px;
                float: left;
            }
            & span {
                margin-left: 5px;
            }
        }
    }
    & p {
        color: $body-color;
        font-size: 14px;
        line-height: 24px;
    }
}


/*-- Ratting Form Wrap --*/
.ratting-form-wrapper{
    float: left;
    width: 100%;
    & h3 {
        font-size: 16px;
        margin: 0 0 30px;
        text-transform: uppercase;
        font-weight: 500;
        line-height: 16px;
    }
}

/*-- Ratting Form --*/
.ratting-form {
    & h5 {
        float: left;
        font-size: 14px;
        line-height: 18px;
        margin-right: 10px;
    }
    & .ratting-star {
        & i {
            font-size: 14px;
            float: left;
            line-height: 18px;
            display: block;
            margin-right: 3px;
            &:last-child {
                margin: 0;
            }
        }
    }
    & label {
        display: block;
        font-size: 14px;
        color: #666666;
        margin-bottom: 3px;
    }
    & input {
        width: 100%;
        background-color: transparent;
        border: 1px solid #dddddd;
        font-size: 13px;
        line-height: 24px;
        padding: 8px 15px;
        color: #666666;

        &[type="submit"] {
            width: auto;
            padding: 8px 30px;
            border-color: $heading-color;
            background-color: $heading-color;
            text-transform: uppercase;
            font-weight: 600;
            color: $white;
            &:hover {
                border-color: $hover-color;
                background-color: $hover-color;
                color: #ffffff;
            }
        }

    }
    & textarea {
        width: 100%;
        background-color: transparent;
        border: 1px solid #dddddd;
        font-size: 13px;
        line-height: 24px;
        padding: 8px 15px;
        color: #666666;
        height: 80px;
        resize: none;
    }
}


/*=====  End of 15. Single product page  ======*/